﻿<?xml version="1.0" encoding="utf-8" ?>
<system.serviceModel>
  <behaviors>
    <endpointBehaviors>
      <behavior name="WebBehavior">
        <webHttp/>
      </behavior>
    </endpointBehaviors>
  </behaviors>
  <bindings>
    <!-- This binding makes WCL operations faster by allowing a larger buffer -->
    <webHttpBinding>
      <binding name="LargeResponseWebHttpBinding" maxReceivedMessageSize="16777216"/>
    </webHttpBinding>
  </bindings>
  <client>
  <endpoint name="SpotifyCatalogEndPoint" behaviorConfiguration="WebBehavior"
       bindingConfiguration="LargeResponseWebHttpBinding" address="http://ws.spotify.com/search/1/"
       binding="webHttpBinding" contract="Ridofy.Spotify.ISpotifyApiB"/>
  </client>
</system.serviceModel>